package com.y.strategy;

/**
 * 锦囊类
 * @author Administrator
 *
 */
public class Context {

	private IStrategy strategy;
	
	public Context(IStrategy strategy) {
		this.strategy = strategy;
	}
	
	public void operate() {
		this.strategy.operate();
	}
}
